package com.shopping.user.dao;

import com.shopping.user.pojo.BookMark;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author liaokang
 * @version 1.0
 * @date 2020/6/4 11:27
 */
public interface BookMarkMapper extends Mapper<BookMark> {

    @Update("Update bookmark set s_status = 'N' where s_id = #{s_id}")
    void delBookMarkByS_id(@Param("s_id") int s_id);
}
